﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.IO;

using DreamCube.Foundation.Basic.Utility;

namespace Test
{
    class testXML
    {
        public static void Start()
        {
            XmlDocument doc = new XmlDocument();
            String xmlPath = Path.Combine( AppDomain.CurrentDomain.BaseDirectory ,@"Xml\DeliveryTemplates.xml");
            doc.Load(xmlPath);

            XmlNodeList nodeList = doc.SelectNodes("/delivery_templates_get_response/delivery_templates/delivery_template");
            Console.WriteLine(nodeList.Count);
        }
    }
}
